package com.sohu.peak.gallery.service;

import com.sohu.peak.util.Logger;
import com.sohu.peak.util.SendPostUtil;

public class WireThread {
	private static class Notify extends Thread {
		private static final Logger log = new Logger();
		String notifyUrl;
		
		public Notify(String notifyUrl){
			this.notifyUrl=notifyUrl;
		}
		
		public void run(){
			String result=SendPostUtil.SendRequest(this.notifyUrl,"");
			log.info("notifyUrl=%s, result=%s",this.notifyUrl,result);
		}
	}

	public static Thread getThread(String notifyUrl){
		return new Notify(notifyUrl);
	}
	
}
